package com.relytosoft.mizar.media.analyze.api.entity.system;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.relytosoft.dubhe.common.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @author lj
 * @date 2022/5/12 10:12
 */
@TableName("AY_VEHICLE_INFO")
@ApiModel("AyVehicleInfo")
public class AyVehicleInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value="ID", type= IdType.AUTO)
    @ApiModelProperty(value = "主键", required = true)
    private Integer id;

    /**
     * 车牌号
     */
    @ApiModelProperty(value = "车牌号", required = true)
    @TableField("VEHICLE_NUMBER")
    private String vehicleNumber;

    /**
     * 车辆类型
     */
    @ApiModelProperty(value = "车辆类型")
    @TableField("VEHICLE_TYPE")
    private Integer vehicleType;


    /**
     * 车辆品牌
     */
    @ApiModelProperty(value = "车辆品牌")
    @TableField("VEHICLE_BRAND")
    private Integer vehicleBrand;

    /**
     * 车辆颜色
     */
    @ApiModelProperty(value = "车辆颜色")
    @TableField("VEHICLE_COLOR")
    private Integer vehicleColor;

    /**
     * 车辆型号
     */
    @ApiModelProperty(value = "车辆型号")
    @TableField("VEHICLE_MODEL")
    private String vehicleModel;

    /**
     * 号牌类型
     */
    @ApiModelProperty(value = "号牌类型")
    @TableField("PLATE_TYPE")
    private Integer plateType;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @TableField("REMARK")
    private String remark;

    /**
     * 关联三方车辆ID
     */
    @ApiModelProperty(value = "关联三方车辆ID")
    @TableField("PLATEFORM_CAR_ID")
    private String plateformCarId;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态", required = true)
    @TableField("STATUS")
    private Integer status;

    /**
     * 所属用户ID;预留
     */
    @ApiModelProperty(value = "所属用户ID;预留")
    @TableField("OWNER_ID")
    private String ownerId;


    @TableField(exist = false)
    private Integer groupId;


    @ApiModelProperty(value = "车辆信息")
    @TableField(exist = false)
    private List<Integer> groupIds;

    public AyVehicleInfo() {
    }

    public AyVehicleInfo(Integer status) {
        this.status = status;
    }

    public List<Integer> getGroupIds() {
        return groupIds;
    }

    public void setGroupIds(List<Integer> groupIds) {
        this.groupIds = groupIds;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    /**
     * 获得主键
     */
    public Integer getId(){
        return this.id;
    }
    /**
     * 设置主键
     */
    public void setId(Integer id){
        this.id = id;
    }

    /**
     * 获得车牌号
     */
    public String getVehicleNumber(){
        return this.vehicleNumber;
    }
    /**
     * 设置车牌号
     */
    public void setVehicleNumber(String vehicleNumber){
        this.vehicleNumber = vehicleNumber;
    }

    /**
     * 获得车辆类型
     */
    public Integer getVehicleType(){
        return this.vehicleType;
    }
    /**
     * 设置车辆类型
     */
    public void setVehicleType(Integer vehicleType){
        this.vehicleType = vehicleType;
    }

    /**
     * 获得车辆品牌
     */
    public Integer getVehicleBrand(){
        return this.vehicleBrand;
    }
    /**
     * 设置车辆品牌
     */
    public void setVehicleBrand(Integer vehicleBrand){
        this.vehicleBrand = vehicleBrand;
    }

    /**
     * 获得车辆颜色
     */
    public Integer getVehicleColor(){
        return this.vehicleColor;
    }
    /**
     * 设置车辆颜色
     */
    public void setVehicleColor(Integer vehicleColor){
        this.vehicleColor = vehicleColor;
    }

    /**
     * 获得车辆型号
     */
    public String getVehicleModel(){
        return this.vehicleModel;
    }
    /**
     * 设置车辆型号
     */
    public void setVehicleModel(String vehicleModel){
        this.vehicleModel = vehicleModel;
    }

    /**
     * 获得号牌类型
     */
    public Integer getPlateType(){
        return this.plateType;
    }
    /**
     * 设置号牌类型
     */
    public void setPlateType(Integer plateType){
        this.plateType = plateType;
    }

    /**
     * 获得备注
     */
    public String getRemark(){
        return this.remark;
    }
    /**
     * 设置备注
     */
    public void setRemark(String remark){
        this.remark = remark;
    }

    /**
     * 获得关联三方车辆ID
     */
    public String getPlateformCarId(){
        return this.plateformCarId;
    }
    /**
     * 设置关联三方车辆ID
     */
    public void setPlateformCarId(String plateformCarId){
        this.plateformCarId = plateformCarId;
    }

    /**
     * 获得状态
     */
    public Integer getStatus(){
        return this.status;
    }
    /**
     * 设置状态
     */
    public void setStatus(Integer status){
        this.status = status;
    }

    /**
     * 获得所属用户ID;预留
     */
    public String getOwnerId(){
        return this.ownerId;
    }
    /**
     * 设置所属用户ID;预留
     */
    public void setOwnerId(String ownerId){
        this.ownerId = ownerId;
    }

    @Override
    public String toString() {
        return "AyVehicleInfo{id="+id+
                ",vehicleNumber="+vehicleNumber+
                ",vehicleType="+vehicleType+
                ",vehicleBrand="+vehicleBrand+
                ",vehicleColor="+vehicleColor+
                ",vehicleModel="+vehicleModel+
                ",plateType="+plateType+
                ",remark="+remark+
                ",plateformCarId="+plateformCarId+
                ",status="+status+
                ",ownerId="+ownerId+
                ",createdId="+createdId+
                ",createdBy="+createdBy+
                ",createdTime="+createdTime+
                ",updatedId="+updatedId+
                ",updatedBy="+updatedBy+
                ",updatedTime="+updatedTime+
                "}";
    }
}